<template>
  <div id="test-stylus">
    <!--    css预处理语言sass\less\stylus-->
    <div class="aaa">
      <h1>aaa中的标题</h1>
    </div>
  </div>
</template>

<script>
  export default {
    name: "TestStylus"
  }
</script>

<style lang="stylus" scoped>
  font-size = 20px
  base-color = #eff06d
  .aaa
    h1
      font-size font-size
      color base-color
</style>